package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.CurriculumTable;
import cn.wolfcode.crm.query.QueryForObject;

import java.util.List;

public interface CurriculumTableMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CurriculumTable record);

    CurriculumTable selectByPrimaryKey(Long id);

    List<CurriculumTable> selectAll();

    int updateByPrimaryKey(CurriculumTable record);

    /**
     * 查询加分页
     * @param qo
     * @return
     */
    int queryForCount(QueryForObject qo);

    List<CurriculumTable> queryForList(QueryForObject qo);

    void changeState(Long id);
}